<template>
  <div>
    <div v-html="content"></div>
    <el-empty v-show="!content" description="暂无数据"></el-empty>
  </div>
</template>
<script>
export default {
  data() {
    return {
      content: '',
    }
  },
  mounted() {
    this.$bus.$on('sendCourseInfo', (row) => {
      this.content = row.content
    })
  },
  beforeDestroy() {
    this.$bus.$off('sendCourseInfo')
  },
  methods: {},
}
</script>
<style scoped lang="scss">
</style>